type MetricType = '基础指标' | '复合指标' | '衍生指标' | '原子指标';
// 指标表单
export type MetricsFormState = {
  name?: string;
  keyName?: string;
  synonyms?: string[]; //同义词
  metricType?: MetricType; //指标类型

  definition?: string; // 指标定义
  calculationMethod?: string; //计算方法
  relatedMetrics?: InitRelationItem[]; //关联指标
  applicableDimensions?: any[]; //适用维度
  relatedDimensions?: any[]; //关联维度
};

export type InitRelationItem = {
  key: string;
  metricsName: string;
  metricsRelation: any[];
};
